package com.hjf.dao;

import java.util.List;
import java.util.Map;

import com.commons.po.DeptPo;
import com.commons.po.MenuPo;
import com.commons.po.PageBean;

public interface MenuPoDao {
	/**查找所有菜单*/
	public List<MenuPo> findMenuPoAll(Map<String, Object> map) ;
	/**根据id查找菜单*/
	public MenuPo findMenuPoById(Integer id);
	/**根据父id查找菜单*/
	public List<MenuPo> findByMenuPoParent(Integer deptParent) ;
	
	/**添加*/
	public int saveMenuPo(MenuPo entity);
	/**修改*/
	public int updateMenuPo(MenuPo entity);
	/**分页查找部门*/
	public PageBean<MenuPo> findPageByCondition(int pageIndex,int pageSize,Map<String, Object> map);

}
